{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "191c48cd",
   "metadata": {},
   "source": [
    "## 课表尝试"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "eedbf34f",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "LC的课程表\n",
      "6\n",
      "周六、周日\n",
      "假期\n",
      "FINISH\n"
     ]
    }
   ],
   "source": [
    "print(\"LC的课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "print(week_time)\n",
    "if week_time==1:\n",
    "    print(\"星期一有二节课\");print(\"3-5python语言\");print(\"6-7写作训练\")\n",
    "elif week_time==2:\n",
    "    print(\"星期二有四节课\");print(\"1-2传统体育养生\");print(\"4-5 广告学概论 \");print(\"8-10网站运营与管理\");print(\"12-13大学英语  \")\n",
    "elif week_time==3:\n",
    "    print(\"星期三有一节课\");print(\"12-14创业基础实践\")\n",
    "elif week_time==4:\n",
    "    print(\"星期四有三节课\");print(\"3-5毛概\");print(\"12-13证券投资方法与技巧 \");print(\"8-10大学英语 \")\n",
    "elif week_time==5:\n",
    "    print(\"星期五有两节课\");print(\"4-5毛概实践\");print(\"8-9手绘艺术基础\")\n",
    "else:\n",
    "    print(\"周六、周日\");print(\"假期\")\n",
    "print(\"FINISH\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "c0f70569",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "3f02842a",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "39fef27a",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "LC的课程表\n",
      "6\n",
      "周六\n",
      "假期愉快\n",
      "FINISH\n"
     ]
    }
   ],
   "source": [
    "print(\"LC的课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "print(week_time)\n",
    "if week_time==1:\n",
    "    print(\"星期一有二节课\");print(\"3-5python语言\");print(\"6-7写作训练\")\n",
    "elif week_time==2:\n",
    "    print(\"星期二有四节课\");print(\"1-2传统体育养生\");print(\"4-5 广告学概论 \");print(\"8-10网站运营与管理\");print(\"12-13大学英语  \")\n",
    "elif week_time==3:\n",
    "    print(\"星期三有一节课\");print(\"12-14创业基础实践\")\n",
    "elif week_time==4:\n",
    "    print(\"星期四有三节课\");print(\"3-5毛概\");print(\"12-13证券投资方法与技巧 \");print(\"8-10大学英语 \")\n",
    "elif week_time==5:\n",
    "    print(\"星期五有两节课\");print(\"4-5毛概实践\");print(\"8-9手绘艺术基础\")\n",
    "elif week_time==6:\n",
    "    print(\"周六\");print(\"假期愉快\")\n",
    "elif week_time==7:\n",
    "    print(\"周日\");print(\"假期愉快\")   \n",
    "else:\n",
    "    print(\"不可能的\");print(\"不可能的\")\n",
    "print(\"FINISH\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "ddb603a1",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d2d038e2",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "0392cd67",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "24b0db9b",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "c88b64c4",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "cf6016f0",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "132462b3",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "8679e6a2",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "ab28db16",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "fa6803b5",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "3fa3c065",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "2542e7b5",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "e609d439",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "973118e0",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "190bf257",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "71c89703",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "6433da6f",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "62979061",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a8654932",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "5356c400",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "05a617de",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "______________________________________________________________________________________________________________\n",
      "      时 间       ｜      星期一      |      星期二      |      星期三      |      星期四      |      星期五      |\n",
      "______________________________________________________________________________________________________________\n",
      "      第一节      ｜                 |    传统体育养生     |              |                 |               |\n",
      "                 ｜                 |     （牛晓梅）     |             |                 |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      第二节      ｜                 |    传统体育养生     |              |                 |               |\n",
      "                 ｜                 |     （牛晓梅）     |             |                 |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      第三节      ｜    Python语言    |               |                |       毛概        |                 |\n",
      "                 ｜    （许智超）     |               |                |      (张由菊)      |                 |\n",
      "______________________________________________________________________________________________________________\n",
      "      第四节      ｜    Python语言    |     广告学概论      |              |       毛概        |      毛概实践       |\n",
      "                 ｜    （许智超）     |     （罗娟）     |             |      (张由菊)      |      (杨益孜)      |\n",
      "______________________________________________________________________________________________________________\n",
      "      第五节      ｜    Python语言    |     广告学概论      |              |       毛概        |      毛概实践       |\n",
      "                 ｜    （许智超）     |     （罗娟）     |             |      (张由菊)      |      (杨益孜)      |\n",
      "______________________________________________________________________________________________________________\n",
      "      第六节      ｜     写作训练      |                 |                 |                 |                 |\n",
      "                 ｜                  |                 |                 |                 |                 |\n",
      "______________________________________________________________________________________________________________\n",
      "      第七节      ｜     写作训练      |                 |                 |                 |                 |\n",
      "                 ｜                  |                 |                 |                 |                 |\n",
      "______________________________________________________________________________________________________________\n",
      "      第八节      ｜                 |   网站运营与管理   |               |  证券投资方法与技巧  |     手绘艺术基础     |\n",
      "                 ｜               |              |     (胡美香)     |               |     (高晓冬)      |\n",
      "______________________________________________________________________________________________________________\n",
      "      第九节      ｜                 |   网站运营与管理   |               |  证券投资方法与技巧  |     手绘艺术基础     |\n",
      "                 ｜               |              |     (胡美香)     |               |     (高晓冬)      |\n",
      "______________________________________________________________________________________________________________\n",
      "      第十节      ｜                 |   网站运营与管理   |               |    大学英语     |                |\n",
      "                 ｜               |              |     (胡美香)     |               |     (王金妮)      |\n",
      "______________________________________________________________________________________________________________\n",
      "      十一节      ｜                  |                 |                 |      大学英语       |                 |\n",
      "                 ｜                  |                 |                 |                 |      (王金妮)      |\n",
      "______________________________________________________________________________________________________________\n",
      "      十二节      ｜                |     大学英语      |    创业基础实践     |                |                   |\n",
      "                 ｜                 |                |    (王金妮)     |     (李顺萍)      |                   |\n",
      "______________________________________________________________________________________________________________\n",
      "      十三节      ｜                |     大学英语      |    创业基础实践     |                |                   |\n",
      "                 ｜                 |                |    (王金妮)     |     (李顺萍)      |                   |\n",
      "______________________________________________________________________________________________________________\n",
      "      十四节      ｜                  |             |    创业基础实践     |               |                  |\n",
      "                 ｜                  |                 |               |     (李顺萍)     |                  |\n",
      "______________________________________________________________________________________________________________\n",
      "      十五节      ｜                  |             |               |               |                  |\n",
      "                 ｜                  |                 |               |               |                  |\n",
      "______________________________________________________________________________________________________________\n"
     ]
    }
   ],
   "source": [
    "print(\"_\"*110)\n",
    "print(\"{:^16}｜{:^15}|{:^15}|{:^15}|{:^15}|{:^15}|\".format(\"时 间\",\"星期一\",\"星期二\",\"星期三\",\"星期四\",\"星期五\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^15}|{:^14}|{:^17}|{:^15}|\"\n",
    "      .format(\"第一节\",\"\",\"传统体育养生\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^17}|{:^15}|{:^13}|{:^17}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"（牛晓梅）\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^15}|{:^14}|{:^17}|{:^15}|\"\n",
    "      .format(\"第二节\",\"\",\"传统体育养生\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^17}|{:^15}|{:^13}|{:^17}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"（牛晓梅）\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^16}|{:^15}|{:^16}|{:^17}|{:^17}|\"\n",
    "      .format(\"第三节\",\"Python语言\",\"\",\"\",\"毛概\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^14}|{:^15}|{:^16}|{:^17}|{:^17}|\"\n",
    "      .format(\"\",\"（许智超）\",\"\",\"\",\"(张由菊)\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^16}|{:^16}|{:^14}|{:^17}|{:^17}|\"\n",
    "      .format(\"第四节\",\"Python语言\",\"广告学概论\",\"\",\"毛概\",\"毛概实践\",\"\"))\n",
    "print(\"{:^17}｜{:^14}|{:^14}|{:^13.5}|{:^17}|{:^17}|\"\n",
    "      .format(\"\",\"（许智超）\",\"（罗娟）\",\"\",\"(张由菊)\",\"(杨益孜)\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^16}|{:^16}|{:^14}|{:^17}|{:^17}|\"\n",
    "      .format(\"第五节\",\"Python语言\",\"广告学概论\",\"\",\"毛概\",\"毛概实践\",\"\"))\n",
    "print(\"{:^17}｜{:^14}|{:^14}|{:^13.5}|{:^17}|{:^17}|\"\n",
    "      .format(\"\",\"（许智超）\",\"（罗娟）\",\"\",\"(张由菊)\",\"(杨益孜)\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^15}|{:^17}|{:^17}|{:^17}|{:^17}|\"\n",
    "      .format(\"第六节\",\"写作训练\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^18}|{:^17}|{:^17}|{:^17}|{:^17}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^15}|{:^17}|{:^17}|{:^17}|{:^17}|\"\n",
    "      .format(\"第七节\",\"写作训练\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^18}|{:^17}|{:^17}|{:^17}|{:^17}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^13}|{:^15}|{:^13}|{:^16}|\"\n",
    "      .format(\"第八节\",\"\",\"网站运营与管理\",\"\",\"证券投资方法与技巧\",\"手绘艺术基础\",\"\"))\n",
    "print(\"{:^17}｜{:^15}|{:^14}|{:^15}|{:^15}|{:^16}|\"\n",
    "      .format(\"\",\"\",\"\",\"(胡美香)\",\"\",\"(高晓冬)\",\"(温灵)\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^13}|{:^15}|{:^13}|{:^16}|\"\n",
    "      .format(\"第九节\",\"\",\"网站运营与管理\",\"\",\"证券投资方法与技巧\",\"手绘艺术基础\",\"\"))\n",
    "print(\"{:^17}｜{:^15}|{:^14}|{:^15}|{:^15}|{:^16}|\"\n",
    "      .format(\"\",\"\",\"\",\"(胡美香)\",\"\",\"(高晓冬)\",\"(温灵)\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^13}|{:^15}|{:^13}|{:^16}|\"\n",
    "      .format(\"第十节\",\"\",\"网站运营与管理\",\"\",\"大学英语\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^15}|{:^14}|{:^15}|{:^15}|{:^16}|\"\n",
    "      .format(\"\",\"\",\"\",\"(胡美香)\",\"\",\"(王金妮)\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^18}|{:^17}|{:^17}|{:^17}|{:^17}|\"\n",
    "      .format(\"十一节\",\"\",\"\",\"\",\"大学英语\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^18}|{:^17}|{:^17}|{:^17}|{:^17}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"\",\"(王金妮)\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^16}|{:^15}|{:^15}|{:^16}|{:^19}|\"\n",
    "      .format(\"十二节\",\"\",\"大学英语\",\"创业基础实践\",\"\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^17}|{:^16}|{:^14}|{:^16}|{:^19}|\"\n",
    "      .format(\"\",\"\",\"\",\"(王金妮)\",\"(李顺萍)\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^16}|{:^15}|{:^15}|{:^16}|{:^19}|\"\n",
    "      .format(\"十三节\",\"\",\"大学英语\",\"创业基础实践\",\"\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^17}|{:^16}|{:^14}|{:^16}|{:^19}|\"\n",
    "      .format(\"\",\"\",\"\",\"(王金妮)\",\"(李顺萍)\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^18}|{:^13}|{:^15}|{:^15}|{:^18}|\"\n",
    "      .format(\"十四节\",\"\",\"\",\"创业基础实践\",\"\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^18}|{:^17}|{:^15}|{:^15}|{:^18}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"(李顺萍)\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^18}|{:^13}|{:^15}|{:^15}|{:^18}|\"\n",
    "      .format(\"十五节\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^17}｜{:^18}|{:^17}|{:^15}|{:^15}|{:^18}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "fb1dd364",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
